import request from "@/router/axios";

export const getOrderRefundReasonList = (params) => {
  return request({
    url: "/admin/orderRefundReason/pageList",
    method: "get",
    params: { ...params },
  });
};

export const updateOrderRefundReasonItem = (row) => {
  return request({
    url: "/admin/orderRefundReason/save",
    method: "post",
    data: row,
  });
};

export const setStatusOrderRefundReasonItem = (row) => {
  return request({
    url: "/admin/orderRefundReason/setStatus",
    method: "post",
    data: row,
  });
};


export const delOrderRefundReasonItem = (row) => {
  return request({
    url: "/admin/orderRefundReason/delete",
    method: "post",
    data: row,
  });
};